Hi I'm a bit new to Django. I'm trying to link to a PDF file but when I tried to create a link in the template it wouldn't work. This built on the tutorial site with an additional writing section. I had a folder in a writing app called static with the PDF files and a home.html template in writing. What do I have to change in the url.py and view.py and template to have links to file2.pdf, file2.pdf? Intried searching answers but they're all a bit vague.
You must be logged in to post. Please login or register an account.